import type { Metadata } from "next"; import { getLocale } from "@/lib/i18n/server"; import { t } from "@/lib/i18n"; import { graph } from "@/lib/papers/queries"; import { Constellation, type GEdge, type GNode } from "@/components/constellation"; export const revalidate = 300; export async function generateMetadata(): Promise { const d = t(await getLocale()); return { title: d.map.title, description: d.map.lead, alternates: { canonical: "/research-map" } }; } export default async function MapPage() { const locale = await getLocale(); const d = t(locale); const g = await graph(); return (

{d.map.title}

{d.map.lead}

{d.home.constellationLead}

); }